import java.util.ArrayList;
import java.util.List;

public class TestMain {
	public static void main(String... args) {
		byte[] bytes = new byte[]{0,-82,-69};
		long l = 0L;
		for (byte b : bytes) {
			l = (l << 8) | (b & 0xFF);
			System.out.println(Long.toBinaryString(l));
		}
	}
	
	private static int i = 0;
	
	public static int test() {
		try {
			System.out.println("in try");
			if (Math.random() < 0.9) {
				System.out.println("now throw");
				throw new NullPointerException();
			}
			i = 1;
			return say("return try", i);
		} catch (Exception e) {
			System.out.println("in catch");
			i = 2;
			if (Math.random() < 0.9) {
				System.out.println("now throw 2");
				throw new NullPointerException();
			}
			return say("return catch", i);
		} finally {
			System.out.println("in finally");
			i = 3;
			return say("return finally", i);
		}
	}
	
	public static int say(String str, int i) {
		System.out.println(str);
		return i;
	}

}
